package com.cbgolf.oa.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author lq
 */
public class Beans implements Serializable {

  /**
   * start----------------封场-------------------
   */
  /**
   * closeTeeTimeIds : ["string"]
   * closured : false
   * courseId : string
   * createdDate : 2018-06-06T00:55:38.823Z
   * dealed : false
   * endTime : 2018-06-06T00:55:38.823Z
   * id : string
   * lastUpdate : 2018-06-06T00:55:38.823Z
   * reason : COMPETITION
   * remark : string
   * startTime : 2018-06-06T00:55:38.823Z
   */

  public boolean closured;
  public String courseId;
  public String createdDate;
  public boolean dealed;
  public long endTime;
  public String id;
  public String lastUpdate;
  public String reason;
  public String remark;
  public long startTime;
  public List<String> closeTeeTimeIds;


  /**
   * 封场原因
   */
  public String causeName;

  public boolean isEdit;

  public String getPickerViewText() {
    //这里还可以判断文字超长截断再提供显示
    return causeName;
  }


  /**
   * end----------------封场-------------------
   */
  public boolean isNoData;
  public String errorMsg;
  public int errorCode;


}
